package com.letoken.platform.repo.app.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * Le账户-团队统计信息(KOL)
 * </p>
 *
 * @author 作者
 * @since 2022-12-15
 */
@Getter
@Setter
@TableName("app_user_team_path")
@ApiModel(value = "AppUserTeamPath对象", description = "Le账户-团队统计信息(KOL)")
public class AppUserTeamPath extends Model<AppUserTeamPath> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("用户编号")
      @TableId(value = "user_id", type = IdType.ASSIGN_ID)
    private Integer userId;

    @ApiModelProperty("邀请人层级ID 逗号分割")
    @TableField("invite_path")
    private String invitePath;


    @Override
    public Serializable pkVal() {
        return this.userId;
    }

}
